import request from '@/utils/request'
export function list(params,type) {
    return request({
        url: '/app/stock/list',
        method: 'get',
        params: params,
		type:type
    })
}
export function save(data,type) {
    return request({
        url: '/app/stock/save',
        method: 'post',
        data: data,
		type:type
    })
}
export function del(params) {
    return request({
        url: '/app/stock/delete',
        method: 'delete',
        params: params
    })
}
